#!/usr/bin/env python

import xmlrpclib

url="http://aapugr.wordpress.com/xmlrpc.php"
server = xmlrpclib.ServerProxy(url)

#Tomamos los 5 posts mas recientes
posts=server.metaWeblog.getRecentPosts(24,'aapugr','ugr_aap',5)

for post in posts:
	print "Titulo:"+post['title']
	print "Link:"+post['permaLink']
	print post['description']
	print "****************************"






